]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
wanda: Fix after clutter deprecation changes
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 17 Feb 2012 16:01:30 +0000 (17:01 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 17 Feb 2012 16:05:31 +0000 (17:05 +0100)
Animated icons now use ClutterActor instead of ClutterGroup, so
adjust to that change.

js/ui/wanda.js

index cfbe47eafd229db84800a6fa26456cee91f069ba..9deb448fb18664611a99b2067d3f815cc536eefe 100644 (file)
@@ -89,9 +89,9 @@ const WandaIcon = new Lang.Class({
             return true;
         }
 
-        this._animations.get_nth_child(this._i).hide();
+        this._animations.get_child_at_index(this._i).hide();
         this._i = (this._i + 1) % n;
-        this._animations.get_nth_child(this._i).show();
+        this._animations.get_child_at_index(this._i).show();
 
         return true;
     },